package com.orkhonsoft.tengrinshar.chat.mapper;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.*;

import com.orkhonsoft.tengrinshar.chat.common.RestResponse;

@FeignClient("notice")
public interface NoticeConsume {
    @RequestMapping(value = "/notice/jpush", method = RequestMethod.POST)
    RestResponse<Object> jpush(@RequestParam("alias") Long userId,
                               @RequestParam("notification_title") String notificationTitle,
                               @RequestParam("msg_title") String msgTitle,
                               @RequestParam("msg_content") String msgContent,
                               @RequestParam("extrasparam") String extrasparam,
                               @RequestHeader("token") String token
                               );
}
